/**
 * Created with IntelliJ IDEA.
 * Description:
 * User: GodK
 * Date: 2024-03-05
 * Time: 22:01
 */
class Base1 {
    public int a = 1;
    public int b = 2;
}

class Derived extends Base1 {
    public int a = 100;
    public int c = 3;
    public void test() {
        System.out.println(super.a);
        System.out.println(this.a);
        System.out.println(this.b);
        System.out.println(super.b);
        System.out.println(this.c);
    }
}

public class Text {
    public static void main(String[] args) {
        Derived derived = new Derived();
        derived.test();
    }
}